package com.spring.ioc.entity;

import org.springframework.stereotype.Component;

@Component
public class Dog implements Pet {
    @Override
    public void move() {
        System.out.println("Dog running!");
    }
}
